package cn.tedu.eguser1.base.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum StatusCode {
    OPERATION_SUCCESS(5000,"操作成功"),
    OPERATION_FILED(6000,"操作失败"),
    Throwable_ERROR(1003,"JJJJJ"),
    VALIDATION_ERROR(4001, "参数验证失败"),
    SYSTEM_ERROR(5000, "系统异常");
    private Integer state;
    private String message;
}
